If you'd like to roll your own version and get a little more flexibility, here's what you do (make sure you back up your Registry first and take all the usual precautions, okay?):

1.       Click Start, Run, type:

regedit

in the Open box and click OK to open the Registry Editor.

2.       Double-click HKEY_CLASSES_ROOT to expand it.

3.       Scroll down the long list of classes until you find the class called Directory (a shortcut is to click on the first of the class folders in the list and then type D to quickly scroll down to the first class which begins with that letter; you can then scroll through the Ds until you find the Directory class).

4.       Double-click Directory to open it and click the Shell key once to select it.

5.       Right-click in a blank space in the right-hand pane and choose New, Key from the pop-up menu.

6.       Name your new key GimmeDOS (or whatever you want to call it - just don't use spaces in the name).

7.       Make sure your new GimmeDOS key is selected on the left, then double-click the Default key in the right-hand pane. In the Value Data box, type the title of your command as it will appear when you right-click a folder, for example:

&Gimme DOS

(place the & in front of the letter you wish to use as the Hotkey to initiate the command). Note that in this case you may put spaces in the command name. Click OK.

8.       Make sure your GimmeDOS key is still selected on the left, and right-click in the right-hand pane once more and choose New, Key. Name this new key Command.

9.       Select the Command key on the left and double-click the Default key in the right-hand pane. This is where you enter the actual command to display the DOS prompt. So, in the Value Data box type:

c:\windows\command.com

and click OK.

(Note: If c:\windows is not your Windows folder, you'll need to adjust the command above. Use Search to locate where command.com is on your system, and use that path in the Value Data box instead.)

10.   Close the Registry Editor, right-click any folder icon, and choose Gimme DOS from the pop-up menu. You'll get a DOS prompt opened in the current folder (for example, if you open the My Documents folder and then right-click a folder within that folder, you'll get a command prompt opened in the My Documents folder.

If you'd like a command which opens a DOS prompt within the folder you right-click and not in the current folder, instead of using c:\windows\command.com in the Value Data box, use:

c:\windows\command.com /k cd "%1"